export type Data = {
    /*流程 ID*/
    id: string,
    /*流程的创建人*/
    createBy: string,
    /*流程的发起时间*/
    createTime: number,
    /* 流程状态 */
    instanceState: number, instanceStateName: string,
    /*流程参数*/
    variable: string
}

type Task = {
    isCurrent: boolean,
    isFuture: boolean,
    taskName: string,
    createTime: number,
    questionnaireConfig: any,
    answer: string,
    variable: string
}

export type State = {
    visible: boolean, imageVisible: boolean,
    data: Data | null,
    // 股权架构图的图像数据
    imageData: string | undefined,
    taskList: Task[] | null,
    loading: boolean,
};
